package com.cdtye.itps.cms.dao.cid.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import com.cdtye.common.webcore.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 单元cid数据表
 * @author Jchen
 * @date 2021-09-24
 */
@ApiModel("单元cid数据表")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("JCJC_UNIT_CDI_DATA")
public class JcjcUnitCidData extends BaseEntity {

    @ApiModelProperty(value = "检测车编号")
    private String carNo;

    @ApiModelProperty(value = "受电弓方向")
    private String pantograph;

    @ApiModelProperty(value = "线路id")
    private String lineId;

    @ApiModelProperty(value = "检测日期")
    @DateTimeFormat(pattern = DateUtil.DATETIME_FORMAT)
    @JSONField(format = DateUtil.DATETIME_FORMAT)
    private Date taskDate;

    @ApiModelProperty(value = "行别id")
    private String directionId;

    @ApiModelProperty(value = "局id")
    private String deptJuId;

    @ApiModelProperty(value = "供电段id")
    private String deptId;

    @ApiModelProperty(value = "开始里程")
    private String beginMileage;

    @ApiModelProperty(value = "结束里程")
    private String endMileage;

    @ApiModelProperty(value = "单元长度")
    private String unitLenftg;

    @ApiModelProperty(value = "锚段内平均速度")
    private String avgSpeed;

    @ApiModelProperty(value = "燃弧率")
    private String arcingRate;

    private String cdis;

    private String cdih;

    private String cdif;

    private String cdia;

    private String cdi;

    @ApiModelProperty(value = "0否 1是")
    private String isEffective;

    @ApiModelProperty(value = "0否1是 2不评价")
    private String isScore;

    @ApiModelProperty(value = "导入id")
    private String importId;

    @ApiModelProperty(value = "删除标志")
    private String delFlag;
}
